#!/usr/bin/expect
spawn java -Djava.security.egd=file:/dev/./urandom -jar HentaiAtHome.jar
expect "Enter Client ID:"
send "[lindex $argv 0]\r"
expect "Enter Client Key:"
send "[lindex $argv 1]\r"
expect eof